<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- search form -->
        <!--         <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search...">
                <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
            </div>
        </form> -->
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">
                <i class="fa fa-user" style="font-size:40px;"></i>
                <switch name="Think.session.info.roleid">
                    <case value="1" break="1">
                        <p>总部</p>
                    </case>
                    <case value="5" break="1">
                        <p>客服</p>
                    </case>
                    <default />
                    <p>未知账号</p>
                </switch>
                <p style="font-size: 18px;">{$Think.session.info.nickname}</p>
            </li>


            <volist name="menuFirst" id="vo">
                <li class="treeview" id="{$vo.moduleid}">
                    <a href="#">
                        <i class="fa fa-female"></i> <span>{$vo.name}</span>
                    </a>
                    <ul class="treeview-menu">
                        <volist name="menuSecond" id="vos">
                            
                            <if condition="$vo['tid'] eq $vos['pid']"> 
                                
                                    <li id="{$vos.moduleid}"><a href="{$vos.action}"><i class="fa fa-circle-o"></i>{$vos.name}</a></li>
                               
                            </if>
                        </volist>
                     </ul>
                </li>
            </volist>

            
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
